package com.changhai.diabetes.model;

/**
 * 
 * @author Andy
 *
 */
public class SessionUser {
	private Long id;
	private String loginName;
	private int adminType;
	
	public SessionUser() {
		super();
	}

	public SessionUser(Long id, String loginName, int adminType) {
		super();
		this.id = id;
		this.loginName = loginName;
		this.adminType = adminType;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param loginName
	 *            the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public int getAdminType() {
		return adminType;
	}

	public void setAdminType(int adminType) {
		this.adminType = adminType;
	}
}
